﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">
    <title>创建问卷</title>
    <meta name="keywords" content="H+后台主题,后台bootstrap框架,会员中心主题,后台HTML,响应式后台">
    <meta name="description" content="H+是一个完全响应式，基于Bootstrap3最新版本开发的扁平化主题，她采用了主流的左右两栏式布局，使用了Html5+CSS3等现代技术">
    <link href="css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
    <link href="css/animate.css" rel="stylesheet">
    <link href="css/style.css?v=4.1.0" rel="stylesheet">
    <link href="css/plugins/treeview/bootstrap-treeview.css" rel="stylesheet">
    <link href="css/plugins/chosen/chosen.css" rel="stylesheet">

    <!-- Sweet Alert -->
    <link href="css/plugins/sweetalert/sweetalert.css" rel="stylesheet">
    <link href="css/plugins/datapicker/datepicker3.css" rel="stylesheet">
    <link href="css/add-style.css" rel="stylesheet">

</head>
<body class="gray-bg">
    <div class="wrapper wrapper-content">
        <div class="row">
            <div class="col-sm-12 animated fadeInRight">
                <div class="ibox-content">
                    <span class="text-muted small pull-right">
                        <a data-toggle="modal" href="wenjuan_add.html#modal-add" class="btn btn-success btn-sm"><i class="fa fa-adn"></i> 增加题目 </a>
                        <a data-toggle="modal" href="wenjuan_add.html#modal-remark" class="btn btn-danger btn-sm"><i class="fa fa-dollar"></i> 开发文档 </a>
                    </span>
                    <h2>题目管理</h2>
                    <hr />
                    <div class="row">
                        <div class="col-sm-8">
                            <div class="input-group form-group-sm">
                                <div class="input-group-btn">
                                    <select data-placeholder="选择查询条件" class="form-control input-sm chosen-select" tabindex="2" style="width:120px;">
                                        <option value="110000" hassubinfo="true" selected="selected">题目标题</option>
                                        <option value="120000" hassubinfo="true">题目答案</option>
                                    </select>
                                </div>
                                <input class="input form-control" type="text" placeholder="请输入（支持模糊查询）">
                                <span class="input-group-btn">
                                    <button type="button" class="btn btn-success btn-sm"><i class="fa fa-search"></i>&nbsp;搜索</button>
                                </span>
                            </div>
                        </div>
                    </div>
                    <div class="table-responsive">
                        <table class="table table-striped table-hover">
                            <thead>
                                <tr>
                                    <th><input type="checkbox" /></th>
                                    <th>状态</th>
                                    <th>类型</th> 
                                    <th>标题</th>                                                                        
                                    <th>答案</th>                                 
                                    <th>操作</th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr>
                                    <th><input type="checkbox" /></th>
                                    <td class="project-status">
                                        <span class="label label-danger">停用</span>
                                    </td>
                                    <td>多选</td>
                                    <td>您最早从哪里看到过H5页面</td>
                                    <td class="text-left">
                                        <div class="rule-multi-porp">
                                            <span id="cblActionType" class="fa fa-tag">
                                                <input id="cblActionType_0" type="checkbox" name="cblActionType$0" value="Show" />
                                                <label for="cblActionType_0">QQ</label>
                                                <input id="cblActionType_0" type="checkbox" name="cblActionType$0"  value="Show" />
                                                <label for="cblActionType_0">微信</label>
                                                <input id="cblActionType_1" type="checkbox" name="cblActionType$1" value="View" />
                                                <label for="cblActionType_1">网页</label>
                                                <input id="cblActionType_0" type="checkbox" name="cblActionType$0" value="Show" />
                                                <label for="cblActionType_0">支付宝</label>
                                                <input id="cblActionType_0" type="checkbox" name="cblActionType$0" value="Show" />
                                                <label for="cblActionType_0">其他</label>
                                            </span>
                                        </div>
                                    </td>
                                    <td class="project-status">
                                        <span class="label label-danger">停用</span>
                                        <span class="label label-danger">删除</span>
                                    </td>
                                </tr>
                                <tr>
                                    <th><input type="checkbox" /></th>
                                    <td class="project-status">
                                        <span class="label label-success">正常</span>
                                    </td>
                                    <td>单选</td>
                                    <td>您最常用的聊天工作是？</td>
                                    <td class="text-left">
                                        <div class="rule-multi-porp">
                                            <span id="cblActionType" class="fa fa-tag">
                                                <input id="cblActionType_0" type="checkbox" name="cblActionType$0" value="Show" />
                                                <label for="cblActionType_0">QQ</label>
                                                <input id="cblActionType_0" type="checkbox" name="cblActionType$0"  value="Show" />
                                                <label for="cblActionType_0">微信</label>
                                                <input id="cblActionType_1" type="checkbox" name="cblActionType$1" value="View" />
                                                <label for="cblActionType_1">Skype</label>
                                                <input id="cblActionType_0" type="checkbox" name="cblActionType$0" value="Show" />
                                                <label for="cblActionType_0">FaceTime</label>
                                                <input id="cblActionType_0" type="checkbox" name="cblActionType$0" value="Show" />
                                                <label for="cblActionType_0">其他</label>
                                            </span>
                                        </div>
                                    </td>
                                    <td class="project-status">
                                        <span class="label label-danger">停用</span>
                                        <span class="label label-danger">删除</span>
                                    </td>
                                </tr>
                                <tr>
                                    <th><input type="checkbox" /></th>
                                    <td class="project-status">
                                        <span class="label label-success">正常</span>
                                    </td>
                                    <td>填空</td>
                                    <td>请输入您姓名和联系方式以便我们的工作人员联系。</td>
                                    <td class="text-left">

                                    </td>
                                    <td class="project-status">
                                        <span class="label label-danger">停用</span>
                                        <span class="label label-danger">删除</span>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                        <div class="text-right">
                            <ul class="pagination">
                                <li><a href="#">&laquo;</a></li>
                                <li><a href="#">1</a></li>
                                <li><a href="#">2</a></li>
                                <li><a href="#">3</a></li>
                                <li><a href="#">4</a></li>
                                <li><a href="#">5</a></li>
                                <li><a href="#">&raquo;</a></li>
                                <li><a href="#">页数：1/10</a></li>
                                <li><a href="#">总记录数：1000</a></li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!--开发提示文字Start-->
    <div id="modal-remark" class="modal fade" aria-hidden="true">
        <div class="modal-dialog modal-lg">
            <div class="modal-content">
                <div class="modal-body">
                    <div class="well">
                        <h3>
                            前端开发事项：
                        </h3>
                        1、页面布局重新设计。
                    </div>
                    <div class="well well-lg">
                        <h3>
                            后台开发事项：
                        </h3>
                        1、业主信息需要实现跟呼叫中心电话绑定，自动从业主资料库中获取。<br />
                        2、公区与入户都走抢单流程<br />
                    </div>
                </div>
            </div>
        </div>
    </div>



    <!--增加题目Start-->
    <div id="modal-add" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" data-backdrop="static">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                    <h5 class="modal-title">新增题目</h5>
                </div>
                <div class="modal-body">
                    <form method="get" class="form-horizontal">
                        <div class="form-group" id="data_5">
                            <label class="col-sm-2 control-label">题目类型*</label>
                            <div class="col-sm-4">
                                <div class="rule-multi-radio">
                                    <span id="rblbuild12">
                                        <input id="rblStatus_10" type="radio" name="rblbuild11" value="0" checked="checked" />
                                        <label for="rblStatus_0">单选</label>
                                        <input id="rblStatus_1" type="radio" name="rblbuild11" value="1" />
                                        <label for="rblStatus_1">多选</label>
                                        <input id="rblStatus_1" type="radio" name="rblbuild11" value="2" />
                                        <label for="rblStatus_1">填空</label>
                                    </span>
                                </div>
                            </div>
                            <div class="group">
                                <label class="col-sm-2 control-label">是否必填*</label>
                                <div class="col-sm-4">
                                    <div class="rule-multi-radio">
                                        <span id="rblbuild121">
                                            <input id="rblStatus_10" type="radio" name="rblbuild111" value="0" checked="checked" />
                                            <label for="rblStatus_0">是</label>
                                            <input id="rblStatus_1" type="radio" name="rblbuild111" value="1" />
                                            <label for="rblStatus_1">否</label>
                                        </span>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-2 control-label">问题标题</label>
                            <div class="col-sm-10">
                                <input type="text" placeholder="请输入题目标题" class="form-control">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">问题答案</label>
                            <div class="col-sm-10">
                                <div class="container">
                                    <div class="input-group-add" style="width:400px;">

                                    </div>
                                </div>
                            </div>

                        </div>
                    </form>
                    
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                    <button type="button" class="btn btn-primary demo2">确定</button>
                </div>
            </div>
        </div>
    </div>
    <!--新增题目End-->
    <!--开发提示文字End-->
    <!-- 全局js -->
    <script src="js/jquery.min.js?v=2.1.4"></script>
    <script src="js/bootstrap.min.js?v=3.3.6"></script>
    <script src="js/plugins/slimscroll/jquery.slimscroll.min.js"></script>

    <!-- 自定义js -->
    <script src="js/content.js?v=1.0.0"></script>
    <script src="js/common.js"></script>



    <!-- Bootstrap-Treeview plugin javascript -->
    <script src="js/plugins/treeview/bootstrap-treeview.js"></script>
    <script src="js/demo/treeview-projectdemo.min.js"></script>
    <!-- Data picker -->
    <script src="js/plugins/datapicker/bootstrap-datepicker.js"></script>
    <!-- Chosen -->
    <script src="js/plugins/chosen/chosen.jquery.js"></script>
    <script>

        var config = {
            ".chosen-select": {},
            ".chosen-select-deselect": {
                allow_single_deselect: true
            },
            ".chosen-select-no-single": {
                disable_search_threshold: 10
            },
            ".chosen-select-no-results": {
                no_results_text: "Oops, nothing found!"
            },
            ".chosen-select-width": {
                width: "95%"
            }
        };
        for (var selector in config) {
            $(selector).chosen(config[selector])
        }

    </script>
    <script>
        $(function () {
            $('.full-height-scroll').slimScroll({
                height: '100%'
            });
        });
    </script>
    <!-- layerDate plugin javascript -->
    <script src="js/plugins/layer/laydate/laydate.js"></script>
    <script>
        var start = {
            elem: "#start",
            format: "YYYY/MM/DD hh:mm:ss",
            min: laydate.now(),
            max: "2099-06-16 12:20:20",
            istime: true,
            istoday: true,
            choose: function (a) {
                end.min = a;
                end.start = a
            }
        };
        var end = {
            elem: "#end",
            format: "YYYY/MM/DD hh:mm:ss",
            min: laydate.now(),
            max: "2099-06-16 13:20:20",
            istime: true,
            istoday: true,
            choose: function (a) {
                start.max = a
            }
        };
        laydate(start);
        laydate(end);
    </script>

    <!-- Sweet alert -->
    <script src="js/plugins/sweetalert/sweetalert.min.js"></script>
    <script>
        $(document).ready(function () { $(".demo1").click(function () { swal({ title: "欢迎使用SweetAlert", text: "Sweet Alert 是一个替代传统的 JavaScript Alert 的漂亮提示效果。" }) }); $(".demo2").click(function () { swal({ title: "太帅了", text: "小手一抖就打开了一个框", type: "success" }) }); $(".demo3").click(function () { swal({ title: "您确定要删除这条信息吗", text: "删除后将无法恢复，请谨慎操作！", type: "warning", showCancelButton: true, confirmButtonColor: "#DD6B55", confirmButtonText: "删除", closeOnConfirm: false }, function () { swal("删除成功！", "您已经永久删除了这条信息。", "success") }) }); $(".demo4").click(function () { swal({ title: "您确定要提交信息吗", text: "提交后无法更改！", type: "warning", showCancelButton: true, confirmButtonColor: "#DD6B55", confirmButtonText: "是的，我要提交！", cancelButtonText: "让我再考虑一下…", closeOnConfirm: false, closeOnCancel: false }, function (a) { if (a) { swal("提交成功！", "您已经提交了这条信息。", "success") } else { swal("已取消", "您取消了提交操作！", "error") } }) }) });
    </script>

    <script>
        $(document).ready(function () {
            $("#data_5 .input-daterange").datepicker({
                keyboardNavigation: false,
                forceParse: false,
                autoclose: true
            });
            $("#data_4 .input-group.date").datepicker({ format: 'yyyy', startView: 2, minViewMode: 2, keyboardNavigation: false, forceParse: false, autoclose: true, todayHighlight: true });

        });
    </script>

    <script>
        $(document).ready(function () { $("#lightVersion").click(function (a) { a.preventDefault(); $("#ibox-content").removeClass("ibox-content"); $("#vertical-timeline").removeClass("dark-timeline"); $("#vertical-timeline").addClass("light-timeline") }); $("#darkVersion").click(function (a) { a.preventDefault(); $("#ibox-content").addClass("ibox-content"); $("#vertical-timeline").removeClass("light-timeline"); $("#vertical-timeline").addClass("dark-timeline") }); $("#leftVersion").click(function (a) { a.preventDefault(); $("#vertical-timeline").toggleClass("center-orientation") }) });
    </script>
    <script src="js/demo/inputGroup-1.1.js"></script>
    <script>
        $(function () {
            $('.input-group-add').initInputGroup({
                'widget': 'input', //输入框组中间的空间类型

                /*'add' : '添加',
                'del' : '删除'*/
                'field': 'data',
                'data': ['']
            });
        });
    </script>
    <!--统计代码，可删除-->
</body>
</html>